home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Util / Pm-Pz / Protectomat v2.6.cpt / protectomat.2.6 / ReadMe.TEXT < prev    next >
Text File  |  1991-10-14  |  4KB  |  94 lines

  1. To: cmu.mac
  2. Subject: protectomat 2.6
  3. CC: 
  4.  
  5. protectomat 2.2 notes (changes for later versions are at the end):
  6. [This progam is available via anonymous ftp from host akutaktak.andrew.cmu.edu
  7. (128.2.35.1).  The file is aw0g/prot26.hqx.  Bugs to aw0g+@andrew.cmu.edu]
  8.  
  9. Here are some programs I wrote to let you dump appleshare server
  10. protections to a text file and reload them.  It usefull in backing
  11. up a server, copying parts of server volumes to new locations while
  12. maintaining protections etc.
  13.  
  14. The sources are provided in case anyone is interested.
  15. Only the executables are needed to actually load or save protection.
  16.  
  17. To dump protection:
  18. Create a file called volume_list in whataver directory the pmDump
  19. program is in (it can be on any disk or floppy).  This file should
  20. have the name of each appleshare volume you want to dump.  The names
  21. should be one per line with no extra lines or spaces.  The names are
  22. not following by trailing colon characters.  The capitilization
  23. is not important.  Sample input:
  24.  
  25. MyVolume
  26. BigDisk80
  27.  
  28. Double click on pmDump.appl.  It will read this file and process each volume.
  29. Protection information is dumped to a file based on the current date and time.
  30. The file name is protect.YYMMDD.HHMM for Year, Month, Day, Hour, Miniutes.
  31. A short summary is appended to the file history.YY (for current year).
  32.  
  33. When pmDump finishes you need to entery OK<return> or ERROR<return> to
  34. acknowlege that you noticed how the run went.  Usualy errors are due to
  35. a disruption in network service and pmDump can be rerun to get a clean dump.
  36. The mouse and menu's should not be used as the output file and history file
  37. may not be properly closed.  This history file will show if this has happened
  38. because there won't be a 'finished normaly line' for a given run.
  39.  
  40. To restore protections double click on pmLoad.appl.  It prompts for a name.  Type
  41. in the name of a dump file that pmDump made, for example:
  42. protect.91.0215.0910.
  43.  
  44. If you only want to restore some protections or make some transformations to
  45. the data then edit the input file or use awk/grep to make changes to it.  Say
  46. for example you move the folders BigDisk80:somefiles: to HugeDisk:somefiles: and
  47. want to copy the protection.  You could keep only the lines in the protection
  48. file for BigDisk80:somefiles: then change the text ,BigDisk80:somefiles: to
  49. ,HugeDisk:somefiles: then run pmLoad.  Note:There is a bug in finder haveing
  50. to do with copying lots and lots of files, be sure to use finder and not
  51. multifinder and reboot afterwards before your system crashes.
  52.  
  53. Errors come in two kinds fatal and warning.  Fatal errors stop before
  54. compleating loading/dumping all files.  For example if the output file
  55. while dumping is on a disk that becomes full.  Warning errors skip
  56. a given file and go on to try the rest.  For example if when reloading
  57. a directory does not exist it is not created and the rest of the load
  58. is attempted.  Both load and dump give a count of the number of problems
  59. incountered at the end of there run (if the run isn't aborted by a fatal
  60. error).  Generaly there should be no errors.
  61.  
  62. Loading writes a log of problems to protectoload.log.  This will overwrite
  63. any previous protecoload.log.
  64.  
  65. BUGS:
  66. The path to each file not including the volume name must be less than 256
  67. characters long.
  68.  
  69. This version (2.2) can't read the 1.x file format.
  70. Aaron Wohl (aw0g+@andrew.cmu.edu)
  71. Carnegie Mellon University
  72. Computing & Comunications
  73. Special Projects
  74.  
  75. protectomat 2.6 changes:
  76. Update sources to build with THINK_C 5.0. 
  77. Fix directory id variable to be 32bit to handle volumes with more than
  78. 32k directories.
  79.  
  80. protectomat 2.5 changes:
  81. dump and restore the volumes protections too not just the directories.
  82. on an error don't print rubbish after the name of the bad file.
  83.  
  84. protectomat 2.3 changes:
  85. pmDump now warns if there is a Desktop file (since Desktop manager is used by
  86. appleshare server no Desktop file should exit).
  87.  
  88. pmDump now checks to see how many files on the disk need to be backed up how
  89. many kbytes of dirty files there are.
  90.  
  91. pmDump now prints how old the oldest file is.  If files are copied onto the server
  92. this date is pretty useless as it keeps the write date from the source.
  93.  
  94.